package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

import com.frogs.system.util.GoodsCheckStatusEnum;
import com.frogs.system.util.GoodsStatusEnum;
import com.frogs.system.util.ShoppingCartCreateTypeEnum;
import com.frogs.system.util.ShoppingCartStatusEnum;

public class ShoppingCart implements Serializable {
    private static final long serialVersionUID = 9107510508931060152L;

    /**
     * This field corresponds to the database column shopping_cart.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column shopping_cart.shopping_cart_id
     */
    private Integer shoppingCartId = 0;

    /**
     * This field corresponds to the database column shopping_cart.user_id
     */
    private Integer userId = 0;

    /**
     * This field corresponds to the database column shopping_cart.applicable_platform_id
     */
    private Integer applicablePlatformId = 0;

    /**
     * This field corresponds to the database column shopping_cart.original_goods_id
     */
    private Integer originalGoodsId = 0;

    /**
     * This field corresponds to the database column shopping_cart.goods_id
     */
    private Integer goodsId = 0;
    
    private Integer skuId = 0;

    /**
     * This field corresponds to the database column shopping_cart.product_code
     */
    private String productCode;

    /**
     * This field corresponds to the database column shopping_cart.number
     */
    private Integer number = 1;

    /**
     * This field corresponds to the database column shopping_cart.number_upper_limit
     */
    private Integer numberUpperLimit = 1;

    /**
     * This field corresponds to the database column shopping_cart.number_lower_limit
     */
    private Integer numberLowerLimit = 1;

    /**
     * This field corresponds to the database column shopping_cart.create_type
     */
    	
    private Integer createType = ShoppingCartCreateTypeEnum.CREATE_TYPE_MANUAL.getId();

    /**
     * This field corresponds to the database column shopping_cart.create_time
     */
    private Date createTime = new Date();

    /**
     * This field corresponds to the database column shopping_cart.is_checked
     */
    private Integer isChecked = GoodsCheckStatusEnum.CHECKED_NO.getId();

    /**
     * This field corresponds to the database column shopping_cart.goods_status
     */
    private Integer goodsStatus = GoodsStatusEnum.NORMAL.getId();

    /**
     * This field corresponds to the database column shopping_cart.special_attr
     */
    private String specialAttr;

    /**
     * This field corresponds to the database column shopping_cart.status
     */
    private Integer status = ShoppingCartStatusEnum.STATUS_NORMAL.getId();

    /**
     * This field corresponds to the database column shopping_cart.update_time
     */
    private Date updateTime = new Date();

    /**
     * This field corresponds to the database column shopping_cart.merchant_id
     */
    private Integer merchantId = 1;

    /**
     * This field corresponds to the database column shopping_cart.family_member_id
     */
    private Integer familyMemberId = 0;

    /**
     * This field corresponds to the database column shopping_cart.autoprompting
     */
    private String autoprompting;

    /**
     * This field corresponds to the database column shopping_cart.sales_mode
     */
    private String salesMode;

    /**
     * This field corresponds to the database column shopping_cart.remark
     */
    private String remark;

    /**
     * This field corresponds to the database column shopping_cart.icon_label
     */
    private String iconLabel;
    
    private String userTraceId;
    
    private String expandCode;
    
    private String subExpandCode;
    
    private Integer mealId = 0;
    
    private Integer isSeckill;

    /**
     * This method returns the value of the database column shopping_cart.id
     *
     * @return the value of shopping_cart.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column shopping_cart.id
     *
     * @param id the value for shopping_cart.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column shopping_cart.shopping_cart_id
     *
     * @return the value of shopping_cart.shopping_cart_id
     */
    public Integer getShoppingCartId() {
        return shoppingCartId;
    }

    /**
     * This method sets the value of the database column shopping_cart.shopping_cart_id
     *
     * @param shoppingCartId the value for shopping_cart.shopping_cart_id
     */
    public void setShoppingCartId(Integer shoppingCartId) {
        this.shoppingCartId = shoppingCartId;
    }

    /**
     * This method returns the value of the database column shopping_cart.user_id
     *
     * @return the value of shopping_cart.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column shopping_cart.user_id
     *
     * @param userId the value for shopping_cart.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method returns the value of the database column shopping_cart.applicable_platform_id
     *
     * @return the value of shopping_cart.applicable_platform_id
     */
    public Integer getApplicablePlatformId() {
        return applicablePlatformId;
    }

    /**
     * This method sets the value of the database column shopping_cart.applicable_platform_id
     *
     * @param applicablePlatformId the value for shopping_cart.applicable_platform_id
     */
    public void setApplicablePlatformId(Integer applicablePlatformId) {
        this.applicablePlatformId = applicablePlatformId;
    }

    /**
     * This method returns the value of the database column shopping_cart.original_goods_id
     *
     * @return the value of shopping_cart.original_goods_id
     */
    public Integer getOriginalGoodsId() {
        return originalGoodsId;
    }

    /**
     * This method sets the value of the database column shopping_cart.original_goods_id
     *
     * @param originalGoodsId the value for shopping_cart.original_goods_id
     */
    public void setOriginalGoodsId(Integer originalGoodsId) {
        this.originalGoodsId = originalGoodsId;
    }

    /**
     * This method returns the value of the database column shopping_cart.goods_id
     *
     * @return the value of shopping_cart.goods_id
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * This method sets the value of the database column shopping_cart.goods_id
     *
     * @param goodsId the value for shopping_cart.goods_id
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * This method returns the value of the database column shopping_cart.product_code
     *
     * @return the value of shopping_cart.product_code
     */
    public String getProductCode() {
        return productCode;
    }

    /**
     * This method sets the value of the database column shopping_cart.product_code
     *
     * @param productCode the value for shopping_cart.product_code
     */
    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    /**
     * This method returns the value of the database column shopping_cart.number
     *
     * @return the value of shopping_cart.number
     */
    public Integer getNumber() {
        return number;
    }

    /**
     * This method sets the value of the database column shopping_cart.number
     *
     * @param number the value for shopping_cart.number
     */
    public void setNumber(Integer number) {
        this.number = number;
    }

    /**
     * This method returns the value of the database column shopping_cart.number_upper_limit
     *
     * @return the value of shopping_cart.number_upper_limit
     */
    public Integer getNumberUpperLimit() {
        return numberUpperLimit;
    }

    /**
     * This method sets the value of the database column shopping_cart.number_upper_limit
     *
     * @param numberUpperLimit the value for shopping_cart.number_upper_limit
     */
    public void setNumberUpperLimit(Integer numberUpperLimit) {
        this.numberUpperLimit = numberUpperLimit;
    }

    /**
     * This method returns the value of the database column shopping_cart.number_lower_limit
     *
     * @return the value of shopping_cart.number_lower_limit
     */
    public Integer getNumberLowerLimit() {
        return numberLowerLimit;
    }

    /**
     * This method sets the value of the database column shopping_cart.number_lower_limit
     *
     * @param numberLowerLimit the value for shopping_cart.number_lower_limit
     */
    public void setNumberLowerLimit(Integer numberLowerLimit) {
        this.numberLowerLimit = numberLowerLimit;
    }

    /**
     * This method returns the value of the database column shopping_cart.create_type
     *
     * @return the value of shopping_cart.create_type
     */
    public Integer getCreateType() {
        return createType;
    }

    /**
     * This method sets the value of the database column shopping_cart.create_type
     *
     * @param createType the value for shopping_cart.create_type
     */
    public void setCreateType(Integer createType) {
        this.createType = createType;
    }

    /**
     * This method returns the value of the database column shopping_cart.create_time
     *
     * @return the value of shopping_cart.create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method sets the value of the database column shopping_cart.create_time
     *
     * @param createTime the value for shopping_cart.create_time
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method returns the value of the database column shopping_cart.is_checked
     *
     * @return the value of shopping_cart.is_checked
     */
    public Integer getIsChecked() {
        return isChecked;
    }

    /**
     * This method sets the value of the database column shopping_cart.is_checked
     *
     * @param isChecked the value for shopping_cart.is_checked
     */
    public void setIsChecked(Integer isChecked) {
        this.isChecked = isChecked;
    }

    /**
     * This method returns the value of the database column shopping_cart.goods_status
     *
     * @return the value of shopping_cart.goods_status
     */
    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    /**
     * This method sets the value of the database column shopping_cart.goods_status
     *
     * @param goodsStatus the value for shopping_cart.goods_status
     */
    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    /**
     * This method returns the value of the database column shopping_cart.special_attr
     *
     * @return the value of shopping_cart.special_attr
     */
    public String getSpecialAttr() {
        return specialAttr;
    }

    /**
     * This method sets the value of the database column shopping_cart.special_attr
     *
     * @param specialAttr the value for shopping_cart.special_attr
     */
    public void setSpecialAttr(String specialAttr) {
        this.specialAttr = specialAttr;
    }

    /**
     * This method returns the value of the database column shopping_cart.status
     *
     * @return the value of shopping_cart.status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method sets the value of the database column shopping_cart.status
     *
     * @param status the value for shopping_cart.status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method returns the value of the database column shopping_cart.update_time
     *
     * @return the value of shopping_cart.update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method sets the value of the database column shopping_cart.update_time
     *
     * @param updateTime the value for shopping_cart.update_time
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method returns the value of the database column shopping_cart.merchant_id
     *
     * @return the value of shopping_cart.merchant_id
     */
    public Integer getMerchantId() {
        return merchantId;
    }

    /**
     * This method sets the value of the database column shopping_cart.merchant_id
     *
     * @param merchantId the value for shopping_cart.merchant_id
     */
    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    /**
     * This method returns the value of the database column shopping_cart.family_member_id
     *
     * @return the value of shopping_cart.family_member_id
     */
    public Integer getFamilyMemberId() {
        return familyMemberId;
    }

    /**
     * This method sets the value of the database column shopping_cart.family_member_id
     *
     * @param familyMemberId the value for shopping_cart.family_member_id
     */
    public void setFamilyMemberId(Integer familyMemberId) {
        this.familyMemberId = familyMemberId;
    }

    /**
     * This method returns the value of the database column shopping_cart.autoprompting
     *
     * @return the value of shopping_cart.autoprompting
     */
    public String getAutoprompting() {
        return autoprompting;
    }

    /**
     * This method sets the value of the database column shopping_cart.autoprompting
     *
     * @param autoprompting the value for shopping_cart.autoprompting
     */
    public void setAutoprompting(String autoprompting) {
        this.autoprompting = autoprompting;
    }

    /**
     * This method returns the value of the database column shopping_cart.sales_mode
     *
     * @return the value of shopping_cart.sales_mode
     */
    public String getSalesMode() {
        return salesMode;
    }

    /**
     * This method sets the value of the database column shopping_cart.sales_mode
     *
     * @param salesMode the value for shopping_cart.sales_mode
     */
    public void setSalesMode(String salesMode) {
        this.salesMode = salesMode;
    }

    /**
     * This method returns the value of the database column shopping_cart.remark
     *
     * @return the value of shopping_cart.remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method sets the value of the database column shopping_cart.remark
     *
     * @param remark the value for shopping_cart.remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * This method returns the value of the database column shopping_cart.icon_label
     *
     * @return the value of shopping_cart.icon_label
     */
    public String getIconLabel() {
        return iconLabel;
    }

    /**
     * This method sets the value of the database column shopping_cart.icon_label
     *
     * @param iconLabel the value for shopping_cart.icon_label
     */
    public void setIconLabel(String iconLabel) {
        this.iconLabel = iconLabel;
    }

	public Integer getSkuId() {
		return skuId;
	}

	public void setSkuId(Integer skuId) {
		this.skuId = skuId;
	}

	public String getUserTraceId() {
		return userTraceId;
	}

	public void setUserTraceId(String userTraceId) {
		this.userTraceId = userTraceId;
	}

	public String getExpandCode() {
		return expandCode;
	}

	public void setExpandCode(String expandCode) {
		this.expandCode = expandCode;
	}

	public Integer getMealId() {
		return mealId;
	}

	public void setMealId(Integer mealId) {
		this.mealId = mealId;
	}

	public Integer getIsSeckill() {
		return isSeckill;
	}

	public void setIsSeckill(Integer isSeckill) {
		this.isSeckill = isSeckill;
	}

	public String getSubExpandCode() {
		return subExpandCode;
	}

	public void setSubExpandCode(String subExpandCode) {
		this.subExpandCode = subExpandCode;
	}
	
}